package com.huawang.mdesign.model.service.vo.patch;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author baibf
 * @description 补丁元素预览信息
 * @date 2025/5/7 9:19
 **/
@Data
public class PatchElementItem {
    @Schema(title = "模型id")
    private String instanceId;

    @Schema(title = "模型名称")
    private String name;

    @Schema(title = "模型图标")
    private String icon;

    @Schema(title = "是否有子节点")
    private Boolean hasChildren;

    public PatchElementItem() {
    }

    public PatchElementItem(String instanceId, String name, String icon, Boolean hasChildren) {
        this.instanceId = instanceId;
        this.name = name;
        this.icon = icon;
        this.hasChildren = hasChildren;
    }
}
